#include"BSTree.h"
#include<string>

int main()
{
	int arr[10] = { 2,3,4,1,6,9,10,11,14,91 };
	BSTree<int> t;
	for (auto e : arr)
	{
		t.Insert(e);
	}
	t.Inorder();
	int target = 3;
	if (t.Find(target))
	{
		cout << "yes" << endl;
	}
	return 0;
}